.class public Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;
.super Ljava/lang/Object;
.source "ObjectSaveLoadHandler.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T::",
        "Ljava/io/Serializable;",
        ">",
        "Ljava/lang/Object;"
    }
.end annotation


# static fields
.field private static final LOG:Lcom/burstly/lib/util/LoggerExt;

.field private static final TAG:Ljava/lang/String;


# instance fields
.field private final mContext:Landroid/content/Context;

.field private mFileName:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 41
    const-class v0, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;

    invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->TAG:Ljava/lang/String;

    .line 46
    invoke-static {}, Lcom/burstly/lib/util/LoggerExt;->getInstance()Lcom/burstly/lib/util/LoggerExt;

    move-result-object v0

    sput-object v0, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;)V
    .locals 1
    .parameter "context"
    .parameter "fileName"

    .prologue
    .line 64
    .local p0, this:Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;,"Lcom/burstly/lib/persistance/ObjectSaveLoadHandler<TT;>;"
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 65
    invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    iput-object v0, p0, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->mContext:Landroid/content/Context;

    .line 66
    iput-object p2, p0, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->mFileName:Ljava/lang/String;

    .line 67
    return-void
.end method

.method private openFileReadStream()Ljava/io/InputStream;
    .locals 5

    .prologue
    .line 76
    .local p0, this:Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;,"Lcom/burstly/lib/persistance/ObjectSaveLoadHandler<TT;>;"
    :try_start_0
    iget-object v1, p0, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->mFileName:Ljava/lang/String;

    invoke-virtual {v1, v2}, Landroid/content/Context;->openFileInput(Ljava/lang/String;)Ljava/io/FileInputStream;
    :try_end_0
    .catch Ljava/io/FileNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v1

    .line 81
    :goto_0
    return-object v1

    .line 78
    :catch_0
    move-exception v0

    .line 79
    .local v0, e:Ljava/io/FileNotFoundException;
    sget-object v1, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v2, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->TAG:Ljava/lang/String;

    const-string v3, "Could not obtain file to read last response!"

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logInfo(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 81
    const/4 v1, 0x0

    goto :goto_0
.end method

.method private openFileWriteStream()Ljava/io/OutputStream;
    .locals 7

    .prologue
    .local p0, this:Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;,"Lcom/burstly/lib/persistance/ObjectSaveLoadHandler<TT;>;"
    const/4 v6, 0x0

    .line 91
    :try_start_0
    iget-object v1, p0, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->mFileName:Ljava/lang/String;

    const/4 v3, 0x0

    invoke-virtual {v1, v2, v3}, Landroid/content/Context;->openFileOutput(Ljava/lang/String;I)Ljava/io/FileOutputStream;
    :try_end_0
    .catch Ljava/io/FileNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v1

    .line 96
    :goto_0
    return-object v1

    .line 93
    :catch_0
    move-exception v0

    .line 94
    .local v0, fnfe:Ljava/io/FileNotFoundException;
    sget-object v1, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v2, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->TAG:Ljava/lang/String;

    const-string v3, "Could not save file {0}!"

    const/4 v4, 0x1

    new-array v4, v4, [Ljava/lang/Object;

    iget-object v5, p0, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->mFileName:Ljava/lang/String;

    aput-object v5, v4, v6

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 96
    const/4 v1, 0x0

    goto :goto_0
.end method


# virtual methods
.method public delete()V
    .locals 6

    .prologue
    .local p0, this:Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;,"Lcom/burstly/lib/persistance/ObjectSaveLoadHandler<TT;>;"
    const/4 v3, 0x1

    const/4 v5, 0x0

    .line 132
    iget-object v0, p0, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->mContext:Landroid/content/Context;

    iget-object v1, p0, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->mFileName:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/content/Context;->deleteFile(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 133
    sget-object v0, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v1, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->TAG:Ljava/lang/String;

    const-string v2, "{0} file could not be deleted!"

    new-array v3, v3, [Ljava/lang/Object;

    iget-object v4, p0, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->mFileName:Ljava/lang/String;

    aput-object v4, v3, v5

    invoke-virtual {v0, v1, v2, v3}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 137
    :goto_0
    return-void

    .line 135
    :cond_0
    sget-object v0, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v1, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->TAG:Ljava/lang/String;

    const-string v2, "{0} file was deleted."

    new-array v3, v3, [Ljava/lang/Object;

    iget-object v4, p0, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->mFileName:Ljava/lang/String;

    aput-object v4, v3, v5

    invoke-virtual {v0, v1, v2, v3}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    goto :goto_0
.end method

.method public getFileName()Ljava/lang/String;
    .locals 1

    .prologue
    .line 178
    .local p0, this:Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;,"Lcom/burstly/lib/persistance/ObjectSaveLoadHandler<TT;>;"
    iget-object v0, p0, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->mFileName:Ljava/lang/String;

    return-object v0
.end method

.method public load()Ljava/io/Serializable;
    .locals 13
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TT;"
        }
    .end annotation

    .prologue
    .line 146
    .local p0, this:Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;,"Lcom/burstly/lib/persistance/ObjectSaveLoadHandler<TT;>;"
    invoke-direct {p0}, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->openFileReadStream()Ljava/io/InputStream;

    move-result-object v1

    .line 147
    .local v1, input:Ljava/io/InputStream;
    const/4 v4, 0x0

    .line 148
    .local v4, objis:Ljava/io/ObjectInputStream;
    if-eqz v1, :cond_0

    .line 150
    :try_start_0
    new-instance v5, Ljava/io/ObjectInputStream;

    invoke-direct {v5, v1}, Ljava/io/ObjectInputStream;-><init>(Ljava/io/InputStream;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
    .catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_1
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_2

    .line 151
    .end local v4           #objis:Ljava/io/ObjectInputStream;
    .local v5, objis:Ljava/io/ObjectInputStream;
    :try_start_1
    invoke-virtual {v5}, Ljava/io/ObjectInputStream;->readObject()Ljava/lang/Object;

    move-result-object v3

    .line 152
    .local v3, loadedObj:Ljava/lang/Object;
    sget-object v7, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v8, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->TAG:Ljava/lang/String;

    const-string v9, "Object {0} has been loaded from file."

    const/4 v10, 0x1

    new-array v10, v10, [Ljava/lang/Object;

    const/4 v11, 0x0

    invoke-static {v3}, Lcom/burstly/lib/util/Utils;->toJson(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v12

    aput-object v12, v10, v11

    invoke-virtual {v7, v8, v9, v10}, Lcom/burstly/lib/util/LoggerExt;->logDebug(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 153
    check-cast v3, Ljava/io/Serializable;
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_1
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_5
    .catch Ljava/lang/ClassNotFoundException; {:try_start_1 .. :try_end_1} :catch_4
    .catch Ljava/lang/Throwable; {:try_start_1 .. :try_end_1} :catch_3

    .line 165
    .end local v3           #loadedObj:Ljava/lang/Object;
    invoke-static {v5}, Lcom/burstly/lib/util/Utils;->closeStream(Ljava/io/Closeable;)V

    .line 166
    invoke-static {v1}, Lcom/burstly/lib/util/Utils;->closeStream(Ljava/io/Closeable;)V

    move-object v4, v5

    .line 169
    .end local v5           #objis:Ljava/io/ObjectInputStream;
    .restart local v4       #objis:Ljava/io/ObjectInputStream;
    :goto_0
    return-object v3

    .line 155
    :catch_0
    move-exception v2

    .line 156
    .local v2, ioe:Ljava/io/IOException;
    :goto_1
    :try_start_2
    sget-object v7, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v8, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->TAG:Ljava/lang/String;

    const-string v9, "Error occured while loading saved object!"

    const/4 v10, 0x0

    new-array v10, v10, [Ljava/lang/Object;

    invoke-virtual {v7, v8, v9, v10}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    .line 165
    invoke-static {v4}, Lcom/burstly/lib/util/Utils;->closeStream(Ljava/io/Closeable;)V

    .line 166
    invoke-static {v1}, Lcom/burstly/lib/util/Utils;->closeStream(Ljava/io/Closeable;)V

    .line 169
    .end local v2           #ioe:Ljava/io/IOException;
    :cond_0
    :goto_2
    const/4 v3, 0x0

    goto :goto_0

    .line 158
    :catch_1
    move-exception v0

    .line 159
    .local v0, cnfe:Ljava/lang/ClassNotFoundException;
    :goto_3
    :try_start_3
    sget-object v7, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v8, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->TAG:Ljava/lang/String;

    invoke-virtual {v7, v8, v0}, Lcom/burstly/lib/util/LoggerExt;->logThrowable(Ljava/lang/String;Ljava/lang/Throwable;)V
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    .line 165
    invoke-static {v4}, Lcom/burstly/lib/util/Utils;->closeStream(Ljava/io/Closeable;)V

    .line 166
    invoke-static {v1}, Lcom/burstly/lib/util/Utils;->closeStream(Ljava/io/Closeable;)V

    goto :goto_2

    .line 161
    .end local v0           #cnfe:Ljava/lang/ClassNotFoundException;
    :catch_2
    move-exception v6

    .line 162
    .local v6, t:Ljava/lang/Throwable;
    :goto_4
    :try_start_4
    sget-object v7, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v8, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->TAG:Ljava/lang/String;

    invoke-virtual {v7, v8, v6}, Lcom/burstly/lib/util/LoggerExt;->logThrowable(Ljava/lang/String;Ljava/lang/Throwable;)V
    :try_end_4
    .catchall {:try_start_4 .. :try_end_4} :catchall_0

    .line 165
    invoke-static {v4}, Lcom/burstly/lib/util/Utils;->closeStream(Ljava/io/Closeable;)V

    .line 166
    invoke-static {v1}, Lcom/burstly/lib/util/Utils;->closeStream(Ljava/io/Closeable;)V

    goto :goto_2

    .line 165
    .end local v6           #t:Ljava/lang/Throwable;
    :catchall_0
    move-exception v7

    :goto_5
    invoke-static {v4}, Lcom/burstly/lib/util/Utils;->closeStream(Ljava/io/Closeable;)V

    .line 166
    invoke-static {v1}, Lcom/burstly/lib/util/Utils;->closeStream(Ljava/io/Closeable;)V

    throw v7

    .line 165
    .end local v4           #objis:Ljava/io/ObjectInputStream;
    .restart local v5       #objis:Ljava/io/ObjectInputStream;
    :catchall_1
    move-exception v7

    move-object v4, v5

    .end local v5           #objis:Ljava/io/ObjectInputStream;
    .restart local v4       #objis:Ljava/io/ObjectInputStream;
    goto :goto_5

    .line 161
    .end local v4           #objis:Ljava/io/ObjectInputStream;
    .restart local v5       #objis:Ljava/io/ObjectInputStream;
    :catch_3
    move-exception v6

    move-object v4, v5

    .end local v5           #objis:Ljava/io/ObjectInputStream;
    .restart local v4       #objis:Ljava/io/ObjectInputStream;
    goto :goto_4

    .line 158
    .end local v4           #objis:Ljava/io/ObjectInputStream;
    .restart local v5       #objis:Ljava/io/ObjectInputStream;
    :catch_4
    move-exception v0

    move-object v4, v5

    .end local v5           #objis:Ljava/io/ObjectInputStream;
    .restart local v4       #objis:Ljava/io/ObjectInputStream;
    goto :goto_3

    .line 155
    .end local v4           #objis:Ljava/io/ObjectInputStream;
    .restart local v5       #objis:Ljava/io/ObjectInputStream;
    :catch_5
    move-exception v2

    move-object v4, v5

    .end local v5           #objis:Ljava/io/ObjectInputStream;
    .restart local v4       #objis:Ljava/io/ObjectInputStream;
    goto :goto_1
.end method

.method public save(Ljava/io/Serializable;)V
    .locals 11
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TT;)V"
        }
    .end annotation

    .prologue
    .line 105
    .local p0, this:Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;,"Lcom/burstly/lib/persistance/ObjectSaveLoadHandler<TT;>;"
    .local p1, objectToSave:Ljava/io/Serializable;,"TT;"
    if-eqz p1, :cond_0

    .line 106
    invoke-direct {p0}, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->openFileWriteStream()Ljava/io/OutputStream;

    move-result-object v3

    .line 107
    .local v3, output:Ljava/io/OutputStream;
    const/4 v1, 0x0

    .line 108
    .local v1, objoos:Ljava/io/ObjectOutputStream;
    if-eqz v3, :cond_0

    .line 110
    :try_start_0
    new-instance v2, Ljava/io/ObjectOutputStream;

    invoke-direct {v2, v3}, Ljava/io/ObjectOutputStream;-><init>(Ljava/io/OutputStream;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_1

    .line 111
    .end local v1           #objoos:Ljava/io/ObjectOutputStream;
    .local v2, objoos:Ljava/io/ObjectOutputStream;
    :try_start_1
    invoke-virtual {v2, p1}, Ljava/io/ObjectOutputStream;->writeObject(Ljava/lang/Object;)V

    .line 112
    sget-object v5, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v6, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->TAG:Ljava/lang/String;

    const-string v7, "Object: {0} has been successfully written to file."

    const/4 v8, 0x1

    new-array v8, v8, [Ljava/lang/Object;

    const/4 v9, 0x0

    invoke-static {p1}, Lcom/burstly/lib/util/Utils;->toJson(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v10

    aput-object v10, v8, v9

    invoke-virtual {v5, v6, v7, v8}, Lcom/burstly/lib/util/LoggerExt;->logDebug(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_1
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_3
    .catch Ljava/lang/Throwable; {:try_start_1 .. :try_end_1} :catch_2

    .line 121
    invoke-static {v3}, Lcom/burstly/lib/util/Utils;->closeStream(Ljava/io/Closeable;)V

    .line 122
    invoke-static {v2}, Lcom/burstly/lib/util/Utils;->closeStream(Ljava/io/Closeable;)V

    .line 126
    .end local v2           #objoos:Ljava/io/ObjectOutputStream;
    .end local v3           #output:Ljava/io/OutputStream;
    :cond_0
    :goto_0
    return-void

    .line 114
    .restart local v1       #objoos:Ljava/io/ObjectOutputStream;
    .restart local v3       #output:Ljava/io/OutputStream;
    :catch_0
    move-exception v0

    .line 115
    .local v0, ioe:Ljava/io/IOException;
    :goto_1
    :try_start_2
    sget-object v5, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v6, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->TAG:Ljava/lang/String;

    const-string v7, "Error occured while saving the object!"

    const/4 v8, 0x0

    new-array v8, v8, [Ljava/lang/Object;

    invoke-virtual {v5, v6, v7, v8}, Lcom/burstly/lib/util/LoggerExt;->logError(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    .line 121
    invoke-static {v3}, Lcom/burstly/lib/util/Utils;->closeStream(Ljava/io/Closeable;)V

    .line 122
    invoke-static {v1}, Lcom/burstly/lib/util/Utils;->closeStream(Ljava/io/Closeable;)V

    goto :goto_0

    .line 117
    .end local v0           #ioe:Ljava/io/IOException;
    :catch_1
    move-exception v4

    .line 118
    .local v4, t:Ljava/lang/Throwable;
    :goto_2
    :try_start_3
    sget-object v5, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v6, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->TAG:Ljava/lang/String;

    invoke-virtual {v5, v6, v4}, Lcom/burstly/lib/util/LoggerExt;->logThrowable(Ljava/lang/String;Ljava/lang/Throwable;)V
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    .line 121
    invoke-static {v3}, Lcom/burstly/lib/util/Utils;->closeStream(Ljava/io/Closeable;)V

    .line 122
    invoke-static {v1}, Lcom/burstly/lib/util/Utils;->closeStream(Ljava/io/Closeable;)V

    goto :goto_0

    .line 121
    .end local v4           #t:Ljava/lang/Throwable;
    :catchall_0
    move-exception v5

    :goto_3
    invoke-static {v3}, Lcom/burstly/lib/util/Utils;->closeStream(Ljava/io/Closeable;)V

    .line 122
    invoke-static {v1}, Lcom/burstly/lib/util/Utils;->closeStream(Ljava/io/Closeable;)V

    throw v5

    .line 121
    .end local v1           #objoos:Ljava/io/ObjectOutputStream;
    .restart local v2       #objoos:Ljava/io/ObjectOutputStream;
    :catchall_1
    move-exception v5

    move-object v1, v2

    .end local v2           #objoos:Ljava/io/ObjectOutputStream;
    .restart local v1       #objoos:Ljava/io/ObjectOutputStream;
    goto :goto_3

    .line 117
    .end local v1           #objoos:Ljava/io/ObjectOutputStream;
    .restart local v2       #objoos:Ljava/io/ObjectOutputStream;
    :catch_2
    move-exception v4

    move-object v1, v2

    .end local v2           #objoos:Ljava/io/ObjectOutputStream;
    .restart local v1       #objoos:Ljava/io/ObjectOutputStream;
    goto :goto_2

    .line 114
    .end local v1           #objoos:Ljava/io/ObjectOutputStream;
    .restart local v2       #objoos:Ljava/io/ObjectOutputStream;
    :catch_3
    move-exception v0

    move-object v1, v2

    .end local v2           #objoos:Ljava/io/ObjectOutputStream;
    .restart local v1       #objoos:Ljava/io/ObjectOutputStream;
    goto :goto_1
.end method

.method public setFileName(Ljava/lang/String;)V
    .locals 0
    .parameter "fileName"

    .prologue
    .line 187
    .local p0, this:Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;,"Lcom/burstly/lib/persistance/ObjectSaveLoadHandler<TT;>;"
    iput-object p1, p0, Lcom/burstly/lib/persistance/ObjectSaveLoadHandler;->mFileName:Ljava/lang/String;

    .line 188
    return-void
.end method
